<strong>Select a group to join:</strong><br />

<table>
<tr>
	<th>Join</th>
	<th>Group Name</th>
</tr>
	<?php foreach($group_data as $key => $group): ?>
		<tr>
			<?php $address = 'group/add_to_group/' . $group['group_id']; ?>
			<td><A href="<?php echo site_url($address); ?>">Join group</a></td>
			<td><?php echo $group['group_name'];?></td>
		</tr>
	<?php endforeach?>
</table>